# coding: utf-8
# @Author: ChuiZi

# 项目信息
info = {
    "tester": "",  # 测试人员
    "projectName": "",  # 项目名称
    "reportDescript": "",  # 项目描述
}

# 邮件配置信息
emailData = {
    "switch": False,  # 是否开启邮件发送功能
    "user": "",  # 邮箱登录账号,一般就是邮箱
    "password": "",  # 邮箱授权码
    "senderEmail": "",  # 登录后你的邮箱
    "serverType": "qq",  # 邮箱供应商,stmp服务器提供者:qq,sina,sinavip,sohu,126,139,163
    "achieveEmail": [""],  # 邮件接收人
    "textTitle": ""  # 邮件标题
}

# 全局通用参数
commonParams = {
    "header": {
        "token": "Token",
        "zcpToken": "zcpToken"
    },
    "body": {}
}

# 接口模拟模块
mockPort = {
    "switch": False,  # 是否开启
}

# 测试报告输出格式:0为html,1为allure
reportFormat = 0

# 测试用例格式:支持"xls,csv,yaml"
testCaseType = "xls"

# 框架开关
switch = {
    "debug": False,  # 接口调试模式,开启打印接口返回值到指定路径下的文件内
    "debugpath": "",  # 空白则将将调试信息打印到"../reports/return/data.json中
    "onesession": True,  # 开启发送的请求处于同一会话
}

# 读取测试用例表头称呼,最好别动,
allureTap = "用例标识"
allureTapEpic = "epic"  # 用例标识的层级命名:项目名
allureTapFeature = "feature"  # 用例标识的层级命名:模块名
allureTapStory = "story"  # 用例标识的层级命名:功能点
caseDescript = "用例描述"  # 用例标识的层级命名:测试场景
caseCount = "用例编号"
reqHeader = "请求头"
reqMeth = "请求方法"
reqBodyType = "请求体类型"
reqBody = "请求体"
reqUrl = "请求地址"
params = "参数传递"
checkData = "返回值校验数据"  # 返回值校验数据命名
